package com.david.apipassenger.gray;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;

/**
 * 将GrayRule注册到当前项目的IOC容器中
 */
public class GrayRibbonConfiguration {
    @Bean
    public IRule ribbonRule(){
        return new GrayRule();
    }
}
